package com.zhong.blog.service.impl;

import com.zhong.blog.mapper.GuestbookMapper;
import com.zhong.blog.pojo.Guestbook;
import com.zhong.blog.service.GuestbookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GuestbookServiceImpl implements GuestbookService {
    @Autowired
    GuestbookMapper guestbookMapper;
    @Override
    public void save(Guestbook guestbook) {
        guestbookMapper.insert(guestbook);
    }
}
